package Services

import "fmt"

type UserService struct {
	Order *OrderService `inject:"ServiceConfig.OrderService()"`
}

func NewUserService() *UserService {
	return &UserService{}
}

func (s *UserService) GetUserInfo(uid int) {
	fmt.Println("用户信息:", uid)
}

func (s *UserService) GetOrderInfo(uid int) {
	s.Order.GetOrderInfo(uid)
}
